package com.qili.entity.exam;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author zhangxiaopeng
 * @date 2021-05-07
 * 考生考试表(交卷时生成）
 */
@Table(name = "ex_stu_exam_copy")
@Data
@ToString
public class ExStuExamCopy {

    @Id
    @Column(name="stu_exam_id")
    private String stuExamId;
    //考生id
    @Column(name="user_id")
    private String userId;
    //考试id
    @Column(name="exam_id")
    private String examId;
    //试卷id
    @Column(name="paper_id")
    private String paperId;
    //考试分数
    @Column(name="score")
    private String score;
    //是否及格  1及格  0不及格
    @Column(name="is_jg")
    private String isJg;
    //开始考试时间
    @Column(name="start_time")
    private String startTime;
    //交卷时间
    @Column(name="submit_time")
    private String submitTime;
    //答题时长
    @Column(name="answer_time")
    private String answerTime;
    //是否判分  1已评分  0未评分
    @Column(name="is_mark")
    private String isMark;
    //考试次数
    @Column(name="num")
    private Integer num;
    //状态  001保存  002提交  000删除
    @Column(name = "state")
    private String state;
    //创建人
    @Column(name="create_by")
    private String createBy;
    //创建时间
    @Column(name="create_date")
    private String createDate;
    //修改人
    @Column(name="modify_by")
    private String modifyBy;
    //修改时间
    @Column(name="modify_date")
    private String modifyDate;

    //考试名称
    @Transient
    private String examName;
    //考试类型
    @Transient
    private String category;
    //考试封面url
    @Transient
    private String url;
    //试卷名称
    @Transient
    private String paperName;
    //考试模式
    @Transient
    private String type;
}
